package test.bean;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;

 
public interface RowProcessor {

 
    public Object[] toArray(ResultSet rs) throws SQLException;
 
    public <T> T toBean(ResultSet rs, Class<T> type) throws SQLException;
 
    public <T> List<T> toBeanList(ResultSet rs, Class<T> type) throws SQLException;
 
    public Map<String, Object> resultToMap(ResultSet rs) throws SQLException;

}
